@import "./../../app//automatic//theme.scss";

// 页面级路由
:global(.routeAnimation) {
  &>.pageHeader {
    padding: 0 16px;
    height: 50px;
    border-left: solid 1px $border-color-base;
    box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.13);
    z-index: 1;
  }
  :global(.ant-page-header) {
    padding: 5px 0;
  }
}

.pageHeader {
  display: flex;
  min-height: 52px;
  padding-top: 4px;
  align-items: center;
  background: #FFF;
  :global(.ant-page-header) {
    padding: 0;
    flex: 1;
    width: 100%;
    height: 100%;
  }
  :global(.ant-page-header-heading) {
    height: 100%;
    align-items: center;
  }
  :global(.anticon-menu-unfold) {
    margin-right: 10px;
  }
  :global(.ant-page-header-heading-title) {
    display: flex;
    padding-right: 5px;
    text-align: center;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: rgba($black, 0.85);
  }
  :global(.ant-breadcrumb) {
    font-weight: normal;
  }

  :global(.ant-page-header-heading) {
    min-height: 48px;
    align-items: stretch;
  }
  :global(.ant-page-header-heading-left) {
    align-items: stretch;
    margin: 0;
  }
  :global(.ant-page-header-heading-title) {
    height: 48px;
  }
  :global(.tabPageHeader .ant-page-header-heading-title) {
    height: auto;
  }
  :global(.ant-page-header-heading-extra) {
    min-height: 48px;
    padding-top: 8px;
    margin: 0 !important;
  }
  :global(.ant-tabs .ant-tabs-nav) {
    align-items: stretch;
  }
  :global(.ant-tabs.ant-tabs-top),
  :global(.ant-tabs .ant-tabs-nav .ant-tabs-nav-list),
  :global(.ant-tabs .ant-tabs-extra-content) {
    min-height: 48px;
    box-sizing: border-box;
  }
  :global(.ant-tabs .ant-tabs-tab),
  :global(.ant-tabs .ant-tabs-nav .ant-tabs-nav-operations),
  :global(.ant-tabs .ant-tabs-nav .ant-tabs-nav-wrap::after) {
    height: 48px;
  }
  :global(.ant-tabs .ant-tabs-extra-content) {
    padding-top: 8px;
  }
  :global(.ant-tabs-ink-bar.ant-tabs-ink-bar-animated) {
    top: 45px;
  }
  :global(.ant-tabs-top .ant-tabs-nav::before) {
    bottom: auto !important;
    top: 48px;
  }
  :global(.ant-tabs .ant-tabs-nav) {
    margin-bottom: 0;
  }

}

.noBottomBd {
  :global(.ant-page-header) {
    border-bottom: none;
  }
}

.searchBtn {
  display: flex;
  &>button {
    margin-left: 8px;
  }
  :global(.common-search) + button {
    margin-left: 16px;
  }
}

.cursorPointer {
  cursor: pointer;
  &:hover {
    color: #2994ff;
  }
}